package com.shelpe.services.tenant.dao;


import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.shelpe.services.tenant.model.Campaigns;
import com.shelpe.services.tenant.model.CampaignsExample;

public interface CampaignsMapper {
    int countByExample(CampaignsExample example);

    int deleteByExample(CampaignsExample example);

    int deleteByPrimaryKey(Long campaignId);

    int insert(Campaigns record);
    
    int insertBatch(List<Campaigns> list);

    int insertSelective(Campaigns record);

    List<Campaigns> selectByExample(CampaignsExample example);

    Campaigns selectByPrimaryKey(Long campaignId);

    int updateByExampleSelective(@Param("record") Campaigns record, @Param("example") CampaignsExample example);

    int updateByExample(@Param("record") Campaigns record, @Param("example") CampaignsExample example);

    int updateByPrimaryKeySelective(Campaigns record);

    int updateByPrimaryKey(Campaigns record);
}